<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login Form Used For Testing</title>
</head>
<body>

<!-- 
we could also worry about:
	should login be done via ajax?
	displaying failed login message
	not submit with empty username on password
	redirect after login
	link to "need help" page
	the text for the prompts
	detecting an attack	
 -->
 
 
 
<%
	// we have to force https access for the login form submit
	String hostname = request.getServerName();
	String action = "https://" + hostname
			+ "/test/justLoginHandler.jsp";
%>

<form class="loginForm" method="post" action=<%=action%>">
<table>
	<tr>
		<td>UTLN:</td>
		<td>input name="utln" type="text"/></td>
	</tr>

	<tr>
		<td>Password:</td>
		<td><input name="password" type="password" /></td>
	</tr>
</table>
</form>
</body>
</html>